package jiChen;
//抽象方法必须在抽象类里
public abstract class Animal {

    public Animal() {
    }

    public Animal(String name, int age) {
    }
    public void method(){
        System.out.println("这是父类方法");
    }

    public abstract void eat(String food);
}
